﻿using System;

class TheBiggerInteger

            // Write a program that finds the biggest of three integers using nested if statements.

{

    static void Main()
    {
        Console.WriteLine("Enter three numbers:");
        double a = double.Parse(Console.ReadLine());
        double b = double.Parse(Console.ReadLine());
        double c = double.Parse(Console.ReadLine());
        if (a == b && a == c)
        {
            Console.WriteLine("The three numbers are equal!");
        }
        if (a > b && a > c)
        {
            Console.WriteLine("The biggest number is {0}", a);
        }
        else
        {
            if (b > a && b > c)
            {
                Console.WriteLine("The biggest number is {0}", b);
            }
            else if (c > a && c > b)
            {
                Console.WriteLine("The biggest number is {0}", c);
            }
        }
    }
}
